<?php
/* 
 * A quick demo on how to turn an object into JSON format
 */

$fruitBasket['apple'] = 5;
$fruitBasket['lemon'] = 12;
$fruitBasket['name'] = 'Titi basket';

echo json_encode($fruitBasket);
?>
